package com.hulk.dryad.persistence.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hulk.dryad.common.component.R;
import com.hulk.dryad.persistence.entity.DictType;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hulk
 * @since 2019-05-16
 */
public interface DictTypeService extends IService<DictType> {


	 DictType getByType(String dictType);

	/**
	 * 根据ID 删除字典
	 * @param id
	 * @return
	 */
	R removeDictType(Integer id);

	/**
	 * 更新字典
	 * @param type 字典
	 * @return
	 */
	R updateDictType(DictType type);

}
